package cn.handong.tool.pojo;


import cn.handong.tool.annotation.NotAllBlank;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
@NotAllBlank(fields = {"cardNumber", "authNumber", "mobilephone"})
public class TestAnnoReqVo {
    private String cardNumber;

    private String authNumber;

    private String mobilephone;

    @NotBlank
//    @Pattern(regexp = "^[0-3]$")
    @Pattern(regexp = "^[0-3]$")
    private String status;
}
